[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_CHAIKA13 SECONDARY_LOGO_CHAIKA13 "ChaikaParts\SECONDARY_LOGO_CHAIKA13.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_GAZ CARSELECT_MANUFACTURER_GAZ "ChaikaParts\CARSELECT_MANUFACTURER_GAZ.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "ChaikaParts\TuningIcons"

move_file override relative absolute ChaikaParts\CHAIKA13.ini scripts\UnlimiterData\CHAIKA13.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions CHAIKA13
do
remove_collection GLOBAL\GLOBALB.LZC Collisions CHAIKA13
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides CHAIKA13_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides CHAIKA13_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos FORDGT CHAIKA13
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13 DefaultBasePaint CHAIKA13_PAINT_BLACK
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13 ManufacturerName GAZ
copy_collection GLOBAL\GLOBALB.LZC Collisions FORDGT CHAIKA13
import override GLOBAL\GLOBALB.LZC DBModelParts ChaikaParts\CHAIKA13.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides FORDGT_PART_SPOILER CHAIKA13_PART_SPOILER

if directory_exists absolute CARS\CHAIKA13
do
else
create_folder absolute CARS\CHAIKA13
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\CHAIKA13\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\CHAIKA13\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\CHAIKA13\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\CHAIKA13\VINYLS.BIN

end

combobox "Black" "Cream White and Red Two-Tone" "White" "Choose your stock color."

"Black"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13 DefaultBasePaint CHAIKA13_PAINT_BLACK

"Cream White and Red Two-Tone"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13 DefaultBasePaint CHAIKA13_PAINT_WHITE2
move_file override relative absolute ChaikaParts\CHAIKA13_B.ini scripts\UnlimiterData\CHAIKA13.ini

"White"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos CHAIKA13 DefaultBasePaint CHAIKA13_PAINT_WHITE

end
